﻿namespace Code2Table.Core;

public class PropertyInfoModel
{
    public string Name { get; set; } = "";
    public string Type { get; set; } = "";
    public string Description { get; set; } = "";
    public bool IsRequired { get; set; }
    public bool IsReadOnly { get; set; }

    public int? MaxLength { get; set; }  // 支持 MaxLength / StringLength
    public string? Range { get; set; }   // 支持 Range
    public string? ColumnType { get; set; } // 支持 Column(TypeName)
}